//$Id$
(function ($) {
  Drupal.behaviors.maryville_customizations = {
  attach: function (context, settings) {
  jQuery(document).ready(function(){ 
      
  var checked_count = 0;
  jQuery("input[id^=edit-profile-allergies-field-alprofile-allergies-und-select-]").click(function() {
    if(jQuery(this).attr('checked')) {
       checked_count++
       if(checked_count > 1) 
       {  
          jQuery(this).attr('checked', false);
          checked_count--
          alert("Uncheck previous check box to select this");
       }
     } 
     else
     { 
        checked_count--
          
     }
    
  }); 
      

     jQuery('.profile2-account-info-form label').each(function() {
        jQuery(this).html(jQuery(this).html() + ':');
     });
   
     jQuery("#edit-profile-account-information-field-acprofile-sec-code-und-0-value").append('HI');    
   
     
 });  
}
 };
}(jQuery));
